<template>
  <div class="about">
    <h1>This is an about page</h1>
    <van-button type="primary" color="hotpink" text="text按钮"></van-button>
    <van-button type="info" @click="btn">信息按钮</van-button>
    <van-button type="default">默认按钮</van-button>
    <van-button type="warning">警告按钮</van-button>
    <van-button type="danger">危险按钮</van-button>

    <van-icon name="chat-o" badge="99+" />
  </div>
</template>

<script>
export default {
  methods: {
    btn() {
      console.log("我的点击了信息按钮");
      alert("弹窗");

    },
  },
};
</script>